﻿using UnityEngine;
using System.Collections;

public class CameraControll : MonoBehaviour
{

    public Transform Target;
    private Vector3 _distanse;

    void Awake()
    {
        _distanse = Target.position - transform.position;
    }
	// Update is called once per frame
	void LateUpdate ()
	{
	    transform.position = Target.position - _distanse;
	}
}
